package com.wenda.homeschooedu.model;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="homework")
public class HomeWork extends BaseModel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 386873653915444139L;
	private int homework_id;
	private String time;
	private String class_name;
	private String subject_name;
	private String content;
	private int subject_id;

	public int getHomework_id() {
		return homework_id;
	}

	public void setHomework_id(int homework_id) {
		this.homework_id = homework_id;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getClass_name() {
		return class_name;
	}

	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}

	public String getSubject_name() {
		return subject_name;
	}

	public void setSubject_name(String subject_name) {
		this.subject_name = subject_name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getSubject_id() {
		return subject_id;
	}

	public void setSubject_id(int subject_id) {
		this.subject_id = subject_id;
	}

	public HomeWork(int homework_id, String time, String class_name,
			String subject_name, String content, int subject_id) {
		super();
		this.homework_id = homework_id;
		this.time = time;
		this.class_name = class_name;
		this.subject_name = subject_name;
		this.content = content;
		this.subject_id = subject_id;
	}
	
	public HomeWork(){
		
	}
}
